package com.youpai.platform.user.web.entity.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


/**
 * @author huanghao
 * @version 1.0
 * @description 判断验证码是否正确
 * @date 2022/08/01
 */
@Data
@ApiModel(value = "JudgeCodeReq",description = "判断验证码是否正确")
public class JudgeCodeReq {

    @NotBlank(message = "邮箱不能为空")
    @ApiModelProperty(value = "邮箱")
    private String email;

    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码")
    private String verificationCode;
}
